package com.sun.nacos.config;

import org.springframework.cloud.netflix.ribbon.RibbonClients;
import org.springframework.context.annotation.Configuration;

@Configuration
// 部分服务负载均衡策略
//@RibbonClient(name = "nacos-service", configuration = RibbonConfiguration.class)
// 全局负载均衡策略
@RibbonClients(defaultConfiguration = NacosClusterRule.class)
public class ServiceRibbonConfiguration {

}
